package com.yang.framework.disruptor;

import com.lmax.disruptor.EventHandler;

/**
 * 支付回调的消费者
 *
 * @author 杨 强
 * @package com.yang.framework.disruptor
 * @createTime 2023-09-10 14:49
 */
public class PayNoticeEventHandler implements EventHandler<PayNoticeEvent> {

    @Override
    public void onEvent(PayNoticeEvent payNoticeEvent, long l, boolean b) throws Exception {
        System.out.println("消费者获取到了数据:" + payNoticeEvent.getOrderNo());
    }
}
